<div class="action-dialog-model-fixed-body">
	<div class="detailsBox">
		<h3>新建付款转账</h3>
		<form action="<@url value='/transferAccountsRest/save'/>" method="post"
			name="transferAccountForm" id="transferAccountForm" class="action-ajax-form action-ajax-form-valid">
			<input type="hidden" name="id" value="${vo.id}"/>
			<input type="hidden" name="type" id="type" />
			<div class="detaiTab">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tbody>
						<tr>
							<td width="15%" align="right" class="bg">付款公司：<font
								color="red">*</font></td>
							<td width="35%">
							   <@select type="select" dataSouceType="pay_company" name="payCompany" value="${vo.payCompany}" />
							   <span class="action-field-error" for="payCompany" style="color: red;"></span>
							</td>
							<td class="bg" align="right">收款户名:<font
								color="red">*</font></td>
							<td>
								<input name="collectionUserName"  class="tabInp" value="${vo.collectionUserName}" />
								<span class="action-field-error" for="collectionUserName" style="color: red;"></span>
							</td>
						</tr>
						<tr>
							<td width="15%" align="right" class="bg">收款账号：<font
								color="red">*</font></td>
							<td width="35%">
								<input name="collectionAccount"  class="tabInp" value="${vo.collectionAccount}" />
								<span class="action-field-error" for="collectionAccount" style="color: red;"></span>
							</td>
							<td class="bg" align="right">收款开户行:<font
								color="red">*</font></td>
							<td>
								<input name="collectionBankName"  class="tabInp" value="${vo.collectionBankName}" />
								<span class="action-field-error" for="collectionBankName" style="color: red;"></span>
							</td>
						</tr>
						<tr>
							<td width="15%" align="right" class="bg">付款金额：<font
								color="red">*</font></td>
							<td width="35%">
								<input name="payAmount"  class="inputNum" value="${vo.payAmount}" />
								<span class="action-field-error" for="payAmount" style="color: red;"></span>
							</td>
							<td class="bg" align="right">汇入行地址:<font
								color="red">*</font></td>
							<td>
								<input style="width:350px;" name="collectionBankAddress"  class="tabInp" value="${vo.collectionBankAddress}" />
								<span class="action-field-error" for="collectionBankAddress" style="color: red;"></span>
							</td>
						</tr>
						<tr>
							<td width="15%" align="right" class="bg">经办平台：<font
								color="red">*</font></td>
							<td width="35%">
								<@autocomplete url="/loanrest/search?name=" name="ltdName" hideIdName="ltd" hideIdValue="${vo.ltd}" value="${vo.ltdName}" />(联想)
							</td>
						</tr>
						
						<tr>
							<td width="15%" align="right" class="bg">付款备注：
							</td>
							<td colspan="3">
								<textarea rows="4" name="payRemark" cols="80" style="resize: none;" onpropertychange="if(value.length>200) value=value.substr(0,200)">${vo.payRemark}</textarea>

							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<#if vo.id ??>
				<div class="openBox action-ajax-load"
					data-url="<@url value='/transferAccountsRest/upload_view?id=${vo.id}' />"
					data-ajax-wait-img="<@cdn value='img.wait'/>" >
				</div>
					<div class="clearfix tac mtb20">
						<input type="submit" class="btn_auto_30 btn_blue" value="保存">
						<input type="button" onclick="saveAndStartNew()" value="保存并启动流程" class="btn_auto_30 btn_blue" />
						<a class="btn_auto_30 btn_blue ml10" href="<@url value='/transferAccounts/index'/>" target="_self">取消</a>
					</div>
				<#else>
				<div class="clearfix tac mtb20">
					<input type="submit" class="btn_auto_30 btn_blue" value="下一步">
				</div>
			</#if>
		</form>
	</div>
</div>